package com.yuq.sunrise.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author ：yuq
 * @date ：Created in 2019/6/23 13:51
 * @description：登录
 * @modified By：
 * @version: 1.0$
 */
@Controller
public class LoginController {

    /**
     * create by: yuq
     * description: 跳转到登录页
     * create time: 2019-06-23 15:25
     *
     * @param model
     * @return
     */
    @RequestMapping(value = "login", method = RequestMethod.GET)
    public String login(Model model){
        return "login";
    }

}
